Repository navigation
fix: harden outside-agent requests, Windows program starts, raw file serving and environment reads - #17
Merged
Conversation
… in the request to allow it
…se words the command interpreter would reread
…cannot run script
…en an agent reads the environment
…e's own path is quoted, and never start a batch-file node directly
…many were left out, and show where parent steps in a path lead
…mes when an agent reads the environment
…hen a batch file must go through it A word with a control character or one of & | < > ^ ( ) ! % and the double quote is now refused whether or not it has spaces, and the message says to pass long text through standard input or a file. npm-style shims still start their own program directly with the words unchanged.
…and mark shortened values, and name the sending agent A call that names an argument its tool does not declare is refused before anyone is asked. Path, folder and target arguments come first, long paths show their end, and every shortened value says its full length.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Tests
For the owner
How to ship